import QtQuick 2.13
import "../imports"

Rectangle {
    id: roundedImage
    property url source:""
    width: 40
    height: 40
    color: Style.current.background
    radius: 50
    border.width: 1
    border.color: Style.current.borderSecondary

    Image {
        width: parent.width
        height: parent.height
        fillMode: Image.PreserveAspectFit
        anchors.horizontalCenter: parent.horizontalCenter
        anchors.verticalCenter: parent.verticalCenter
        source: roundedImage.source
        mipmap: true
        smooth: false
        antialiasing: true
    }
}

/*##^##
Designer {
    D{i:0;formeditorColor:"#4c4e50";formeditorZoom:2}
}
##^##*/
